package com.kede.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 求购信息
 * </p>
 *
 * @author 【yg】
 * @since 2020-04-02
 */
public class DemandInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 求购商品ID
     */
    @TableId(value = "diid", type = IdType.AUTO)
    private Long diid;

    /**
     * 求购商品名
     */
    private String diname;

    /**
     * 求购数量
     */
    private String dinumber;

    /**
     * 求购商品时间
     */
    private LocalDateTime ditime;

    /**
     * 求购价格
     */
    private String dimoney;

    /**
     * 商品状态
     */
    private Integer distate;

    public Long getDiid() {
        return diid;
    }

    public void setDiid(Long diid) {
        this.diid = diid;
    }
    public String getDiname() {
        return diname;
    }

    public void setDiname(String diname) {
        this.diname = diname;
    }
    public String getDinumber() {
        return dinumber;
    }

    public void setDinumber(String dinumber) {
        this.dinumber = dinumber;
    }
    public LocalDateTime getDitime() {
        return ditime;
    }

    public void setDitime(LocalDateTime ditime) {
        this.ditime = ditime;
    }
    public String getDimoney() {
        return dimoney;
    }

    public void setDimoney(String dimoney) {
        this.dimoney = dimoney;
    }
    public Integer getDistate() {
        return distate;
    }

    public void setDistate(Integer distate) {
        this.distate = distate;
    }

    @Override
    public String toString() {
        return "DemandInformation{" +
            "diid=" + diid +
            ", diname=" + diname +
            ", dinumber=" + dinumber +
            ", ditime=" + ditime +
            ", dimoney=" + dimoney +
            ", distate=" + distate +
        "}";
    }
}
